package cn.dzhang.spring.web.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import cn.dzhang.spring.model.Authority;

@XmlRootElement(name = "authorities")
public class AuthorityWrap extends ModelsWrap<Authority> {
	public AuthorityWrap() {
	}

	public AuthorityWrap(List<Authority> list) {
		super(list);
	}

	@Override
	@XmlElement(name = "authority")
	public List<Authority> getList() {
		return list;
	}

}
